﻿using System.Collections.Generic;
using System.Diagnostics.Contracts;

namespace OpenLS.Spreadsheet.Formats.Biff
{
    class ExternalBookContext
    {
        private readonly Workbook _workbook;
        private readonly List<string> _definedNames = new List<string>();

        public ExternalBookContext(Workbook workbook)
        {
            Contract.Requires(workbook != null);
            _workbook = workbook;
        }

        public Workbook Workbook
        {
            get { return _workbook; }
        }

        public List<string> DefinedNames
        {
            get { return _definedNames; }
        }
    }
}